package cn.tedu.ceb.education.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("education")
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Education implements Serializable {
    @TableId(value="id",type = IdType.AUTO)
    Integer id;
    Integer userId;
    String school;
    String level;
    String fromTime;
    String toTime;

}
